import request from '@/utils/request'

/** @name 黑名单列表 **/
export function getBlackListAPI (params) {
  return request({
    url: '/blackList/list',
    method: 'get',
    params
  })
}

/** @name 编辑黑名单 **/
export function editBlackAPI (data) {
  return request({
    url: '/blackList/edit',
    method: 'post',
    data
  })
}

/** @name 删除黑名单 **/
export function deleteBlackAPI (data) {
  return request({
    url: '/blackList/delete',
    method: 'delete',
    data
  })
}
